import request from '@/utils/request'

// 查询质检项详细
export function getPmsQualityInspectionItems(pmsProductid) {
  return request({
    url: '/pms/qualityInspectionItems/' + pmsProductid,
    method: 'get'
  })
}

// 新增商品质检项信息
export function addPmsQualityInspectionItems(data) {
  return request({
    url: '/pms/qualityInspectionItems',
    method: 'post',
    data: data
  })
}

// 修改商品质检项信息
export function updatePmsQualityInspectionItems(data) {
  return request({
    url: '/pms/qualityInspectionItems',
    method: 'put',
    data: data
  })
}
